home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / bb21tu.zip / FWD.DOC < prev    next >
Text File  |  1991-11-03  |  14KB  |  354 lines

  1.  
  2. To forward to a station, that station must now be designated a BBS or a
  3. personal BBS.  Use the EU command and set the proper flag.
  4.  
  5.      B flag -- Old BBS programs that don't have the [xxx] info
  6.      A flag -- Advanced BBS that does send [xxx].  When in doubt,
  7.                use this flag
  8.      P flag -- Personal BBS.
  9.  
  10. Rather than the current way of having a list of destinations for each
  11. route, a list of routes for each destination is used.  The data has been
  12. broken into two pieces.  How to connect with a distant mailbox is in the
  13. PATH file while the information on what to send is in the ROUTE file.
  14.  
  15. * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = *
  16.  
  17. The ROUTE File
  18. --------------
  19.  
  20. A line from the ROUTE file is organized as:
  21.  
  22.     W3IWI W0RLI WB6ASR 80 KE6BX
  23.  
  24. This says to send mail for W3IWI mailbox down the path named either
  25. W0RLI, WB6ASR, and then KE6BX.  The forwarding will be performed in that
  26. order.  W0RLI will be tried first and then WB6ASR.  If a message is more
  27. than 80 hours old, KE6BX will be used (See sepcial case:  numbers below)
  28.  
  29. Wildcards are supported.   For full details on these, see WILDCARD.DOC.
  30. Just more than * is supported.
  31.  
  32. Once a message (or a member of a distribution list has been selected, it
  33. cannot be selected for another route.
  34.  
  35.         95020   AA4RE
  36.         95*     W0RLI
  37.  
  38. A message with a route code of 95020 will go to AA4RE.  All others go to
  39. W0RLI. 95020 will not since it was selected for the AA4RE route already.
  40.  
  41. The ROUTE files also allows ALIASES.  These are of the form
  42.  
  43.        SOCAL = K6IYK W6PW
  44.  
  45. Anywhere SOCAL appears in a route, K6IYK W6PW will be substituted.  So
  46. if the ROUTE file says
  47.  
  48.        WB6YMH SOCAL
  49.  
  50. this is the same as
  51.  
  52.        WB6YMH K6IYK W6PW
  53.  
  54. Aliases only affect the path to use.  Aliases must be listed before they
  55. can be used.
  56.  
  57. >>> Special case:  LEAVE
  58.  
  59.    If you send something to LEAVE then it will stay on the BBS and not
  60.    be forwarded.  This is handy to prevent just certain messages to stay.
  61.    Example:
  62.  
  63.        95020 LEAVE
  64.        95*   KE6BX
  65.  
  66.        A message to 95020 will stay but all other 95anything will go to
  67.        KE6BX.
  68.  
  69.    If the special @BLANK is used, this will match any message where
  70.    the @BBS field is blank.  Combining LEAVE and BLANK make some
  71.    route tables easy:
  72.  
  73.        AA4RE  LEAVE
  74.        @BLANK LEAVE
  75.        *      WB6ZVW
  76.  
  77.        Any message addressed to @AA4RE stays.  Any message addressed to
  78.        anycall without @ will stay.  All others will go to WB6ZVW.  This
  79.        is very handy for a small BBS where everything but local calls go
  80.        to one other BBS.
  81.  
  82. >>> Special case:  ?
  83.  
  84.    If you send something to ? then it will stay on the BBS and not
  85.    be forwarded.  It will show up if you execute the L? command.
  86.    Example:
  87.  
  88.        USA   ?
  89.  
  90.        A message to USA will be marked with the ? flag
  91.  
  92. >>> Special case:  numbers
  93.  
  94.    The numbers in a route file pertain to time delay
  95.  
  96.      Example: W3IWI W0RLI 20 WB6ASR +5 WB6ZVW 80 KE6BX
  97.  
  98.    This means send traffic to W0RLI to W3IWI anytime.  If a message if more
  99.    than 20 hours old then also try to forward it to WB6ASR.  If a message
  100.    is 25 hours old (20 from before WB6ASR +5) to WB6ZVW and after 80 hours
  101.    to KE6BX.  The use of the "+5" should be confined to ALIAS statements
  102.    since it requires more computation.  I would use something like:
  103.  
  104.        OTHER = WB6ASR +5 WB6ZVW +10 KE6BX
  105.        W3IWI KA6FUB 10 OTHER
  106.  
  107.    This would be interpreted as
  108.  
  109.        W3IWI 10 WB6ASR 15 WB6ZVW 20 KE6BX
  110.  
  111.  
  112. * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = *
  113.  
  114. The PATH File
  115. -------------
  116.  
  117. The PATH file has the entries that describe how to connect to a
  118. mailbox we want to forward to.   A typical entry:
  119.  
  120.  
  121. PATH W0RLI  B W0RLI
  122. T 0000 0600
  123. T 1000 1600 1 5
  124. T 2200 2359
  125. O TA
  126. C W6AMT-10
  127. PF 12
  128. SC #SFO3
  129. R* to *
  130. SC SNTCRZ
  131. R* to *
  132. SC W0RLI
  133. R* to *
  134.  
  135.     PATH pathname port callsign force
  136.  
  137.            "pathname" is the name of this path.  Any arbitrary 12 characters
  138.            will do.  This matches the entry in the ROUTE file.
  139.  
  140.            "port" is the letter of the port to use to connect to this
  141.            mailbox on.  If this is a DRSI card using TNC-TSR, you must also
  142.            code the port on the C(onnect) statement.
  143.  
  144.            Note that you can designate subports by extendting this field.
  145.            Example:  B-1 would indicate a subport.  You can then control
  146.            forwarding by subport by using commands like "X PORT B-1".  If
  147.            you want to automatically forward by subport then code
  148.            "no_out_fwd = Y" for this port in your PARMS.BB and then issue
  149.            the X commands via WAKEUP.BB
  150.  
  151.            "callsign" is used to set certain parameters found in the USER
  152.            file (like MAXPAC etc).  Any call can be used here as long as the
  153.            USER file contains the information.  This call is also used for
  154.            REVERSE FORWARDING.
  155.  
  156.            "FORCE" -- If the actual word FORCE appears after the callsign,
  157.            connect via this path even if no messages.
  158.  
  159.     C(onnect) callsign
  160.  
  161.            This is the actual connect command to be used.  For the DRSI
  162.            card using TNC-TSR, don't forget to include port.  Example:
  163.                  C 1:AA4RE
  164.  
  165.     P(ort) cmd
  166.  
  167.            This is a command to be issued to this port.  Can be used to
  168.            change all sorts of things.  Be careful to affect only this
  169.            "channel".  See the documentation for your TNC as to what is
  170.            allowed.
  171.  
  172.     S(end) text
  173.  
  174.            Send the text of this line to the distant station.
  175.  
  176.     R(ecieve) pattern
  177.  
  178.            If the next line received from the distant station does not match
  179.            this line disconnect.  Full pattern matching can be used.  "R* to
  180.            *" is great for the NETROM response.  Be careful when
  181.            constructing your own pattern.  It starts immediately after the
  182.            "R" without an intervening blank.
  183.  
  184.     O(Order) order_info
  185.  
  186.            This controls how messages are ordered before forwarding.
  187.            order_info can have up to three characters:
  188.  
  189.               A -- Order by age with oldest first
  190.               T -- Order by type.  T before P before B.  This is
  191.                    actually an alphabetical sort.  Special case
  192.                    of "P" with distribution list is same as "B"
  193.               S -- Order by size.  Smallest first
  194.               D -- Order by day.  Similar to A but only the day matters
  195.                    and not the time.  Oldest first.
  196.               R -- Reverse of D.  Latest is first.
  197.  
  198.            If you code the letters TA then the messages will be sent
  199.            by type then age within type.  Thus the first message sent
  200.            will be the oldest "T" message.  The order will look
  201.            like this:
  202.  
  203.                 oldest "T" message
  204.                 .
  205.                 newest "T" message
  206.                 oldest "P" message
  207.                 .
  208.                 newest "P" message
  209.                 oldest "B" message
  210.                 .
  211.                 newest "B" message
  212.  
  213.            Note that using "A" as a parameter except as the last letter
  214.            is kinda useless.  If you gave "AT" then messages would be
  215.            ordered by AGE then type.  The probability of two messages
  216.            being the same AGE (down to the second) is very very small.
  217.            This is why the "D" is given.  "DT" would order by DAY and
  218.            then TYPE within DAY.
  219.  
  220.            Note 1:  The "O" statement must be before any "C" statements
  221.            Note 2:  There is a DEFAULT_FORWARD_ORDER parameter that
  222.                     applies on a port basis in PARMS.BB
  223.            Note 3:  Any "O" statement will wipe out the ORDER parm on
  224.                     the "T" statement
  225.  
  226.     T(ime) start_time end_time start_day_of_week end_day_of_week ...options...
  227.  
  228.            Use this path during certain times.
  229.               start_time = start time we can use path.  HHMM format
  230.               stop_time  = stop time we can use path.  If not given then
  231.                            we can forward anytime after start time.
  232.               start_day_of_week = Day of week we can use this path.
  233.                            Sunday = 0, Monday = 1, etc.  If omitted, can
  234.                            use any day.  If no end_day_of_week given then
  235.                            path can be used this day ONLY.
  236.               end_day_of_week = Last day path can be used.
  237.               options = options for more control.
  238.                            HOUR x/y    If the hour divided by x has a
  239.                                        remainder of y then forward.
  240.                                        Examples:
  241.                                           HOUR 2/0   Only even hours
  242.                                           HOUR 2/1   Only odd hours
  243.                                           HOUR 3/1   Every 3 hrs (0100 is ok)
  244.                            ORDER ccc   Same as "O" but only for this time
  245.                                        period.  Must be last thing on line.
  246.                            SIZE nnn    Max size to forward in this time period
  247.                            TYPE aaa    Type of message to forward.  Use
  248.                                        an undescore '_' for blank types.
  249.                                        Wildcards not allowed.  Max ten types.
  250.                            REVERSE     Apply this statement only when reverse
  251.                                        forwarding
  252.                            NOREVERSE   Apply this statement only when not
  253.                                        reverse forwarding
  254.                            FORCE       Apply this statement only when force
  255.                                        forwarding
  256.                            NOFORCE     Apply this statement only when not
  257.                                        force forwarding
  258.  
  259.            Note 1:  All start/end are INCLUSIVE.
  260.            Note 2:  You can have many "T" statements.  If ANY of them
  261.                     is true, you can forward.
  262.            Note 3:  The "T" statement must be right after the PATH statment
  263.            Note 4:  The end day-of-week must be greater than or equal to
  264.                     the start day-of-week.  The format 6 0 will not execute
  265.                     on Saturday and Sunday but will simply be ignored.  To
  266.                     accomplish something like this you will need two "T"
  267.                     statements:  One for Saturday and one for Sunday
  268.            Note 5:  The ORDER, SIZE, TYPE, etc operands from the FIRST
  269.                     "T" statement that is found to be true will be used.
  270.            Note 6:  If REVERSE and NOREVERSE are both specified then the
  271.                     "T" statement will always be ignored
  272.            Note 7:  If FORCE and NOFORCE are both specified then the "T"
  273.                     statement will always be ignored
  274.  
  275.            Examples
  276.  
  277.               T 0900 2300                 Use this path from 0900 to 2300
  278.               T 0000 2359 1 5             Use this path from Mon to Fri
  279.               T 0000 2359 0 6 HOUR 2/0    Any day but only even hours
  280.               T 0000 0800 6 6 HOUR 2/1    Odd hours between midnight and
  281.                                           eight AM on saturday only
  282.               T 1200 2359 0 6 ORDER DT    Forward between noon and midnight
  283.                                           on any day with order sequence DT
  284.               T 1200 2200 0 6 SIZE 100    Forward between noon and 10 PM
  285.                                           on any day but only messages of 100
  286.                                           bytes or less
  287.               T 1200 2359 0 6 ORDER DT SIZE 100
  288.                                           Forward between noon and midnight
  289.                                           on any day with order sequence DT
  290.                                           but only messages of 100 bytes or
  291.                                           less
  292.               T 0000 2359 0 6 TYPE PT     Forward anytime and anyday but only
  293.                                           message types "P" and "T'
  294.  
  295.               T 0000 0000 0 6 NOREVERSE   Never forward down this path except
  296.                                           for reverse forward
  297.  
  298. * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = *
  299.  
  300. To ensure proper operation, execute the GF command after updating ROUTE.BB
  301.  
  302. * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = *
  303.  
  304. Forwarding thru NETROM, TheNet, G8BPQ switch
  305. --------------------------------------------
  306.  
  307. Use the following snippets for NETROM forwarding
  308.  
  309. C NODE1                    <---Local Node
  310. SC NODE2                   <---Distant Node
  311. R* to *                    <--- to MUST be in lower case!
  312. SC Z6ZZZ                   <---The other BBS
  313. R* to *
  314.  
  315. Repeat the 2nd and 3rd lines as necessary for all the nodes needed
  316.  
  317. * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = *
  318.  
  319. Forwarding thru ROSE
  320. --------------------
  321.  
  322. SC KD5SL V W5JJW-2,504926  <--- ROSE Connect Command
  323. R* to *                    <---}
  324. R* being *                 <---} Three Lines for ROSE Response
  325. R* Complete *              <---}
  326.  
  327. * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = *
  328.  
  329. NETROM/ROSE/NETROM
  330. ------------------
  331.  
  332. CO MSVKS
  333. R* to *
  334. SC N5HOF-2 V AE5V-3,318323
  335. R* to *
  336. R* being *
  337. R* Complete *
  338. SC N5HOF
  339. R* to *
  340.  
  341. * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = *
  342.  
  343. Using the G8BPQ switch
  344. ----------------------
  345.  
  346. If you are using the G8BPQ switch, you will always connect to
  347. the switch first.
  348.  
  349. C SW
  350. SC X6XXX
  351. R* to *
  352.  
  353.  
  354.